import Vue from 'vue'
import Vuex from 'vuex'
import home from './modules/home'
import search from './modules/search'
import personal from './modules/personal'
import pagination from './modules/pagination'
import setting from './modules/admin.js'
Vue.use(Vuex)
import {
  NS
} from 'fac/constant'
let modules = {}
modules[NS.HOME] = home
modules[NS.SEARCH] = search
modules[NS.PERSONAL] = personal
modules[NS.PAGINATION] = pagination
modules[NS.setting] = setting
export default new Vuex.Store({
  modules
})
